package Demo.service.impl;

import Demo.model.Student;
import Demo.service.StudentService;
import Demo.service.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class StudentServiceImpl extends BaseServiceImpl<Student> implements StudentService {
    @Override
    public Student login(String username, String pasword) {
        return null;
    }

    @Override
    public void insert(Student student) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void deleteByUUid(String uuid) {

    }

    @Override
    public void update(Student student) {

    }

    @Override
    public void selectByUUid(String uuid) {

    }

    @Override
    public Student select(Integer id) {
        return null;
    }

    @Override
    public Student selectByUsername(String username) {
        return studentMapper.getStudent(username);
    }

    @Override
    public List<Student> findAll() {
        return null;
    }

    @Override
    public int getCountByUUid(String uuid) {
        return 0;
    }

    @Override
    public int getCountById(Integer id) {
        return 0;
    }
}
